<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="display" uri="/WEB-INF/tags/displaytag-12.tld"%>
<%@page import="com.opensymphony.module.sitemesh.Page"%>
<html>
<head>
<meta name="tab" content="payment" />
<meta name="leftbar-link" content="student-payment"/>
<meta name="decorator" content="DefaultLayout"/>
<link href="<s:url value="/webwork/jscalendar/calendar-blue.css" />" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<script>

</script>
<span id="pageHeading">Student Payment Details<hr/></span>

<s:form name="studentForm" id="studentForm" action="/addStudentPayment.action" method="post">
Payment Added successfully. Please verify the details.
<table>
   	
  <display:table name="studentPaymentList" id="studentPayment" class="dataTable" requestURI="/searchStudent.action"
      cellspacing="0"  sort="list"  pagesize="10" export="true" 
      decorator="org.displaytag.decorator.TotalTableDecorator" >
      <display:column title="Payment Id" property="id" sortable="true"/>
      <display:column title="Amount" property="amount" sortable="true"/>
      <display:column title="payment Date" property="paymentDateStr" sortable="true"/>
      <display:column title="Level Id" property="levelId" sortable="true"/>
      <display:column title="Remarks" property="remarks" sortable="true"/>

</display:table>

	<a class="orange" href="<%=request.getContextPath()%>/showDetails.action?studentId=${studentPayment.studentId}">View Student Details</a>


</table>

<p>

</s:form>
</body>
</html>
